package com.business.business.model;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.business.business.common.base.BasisEntity;

import java.util.Date;

//@Data
@TableName("business_checkaddr")//单位巡检点
public class BusinessCheckaddr extends BasisEntity {

    private String id;//主键id
    private String type;//巡查点类型
    @TableField("`partition`")
    private String partition;//分区id
    private String seat;//位置id
    private String addr;//详细地址
    private String businessId;//单位id
    private String businessName;//单位名称
    private String rfid;//RFID码
    private Date createtime;//创建时间

    public String getId() {
        return this.getString("id");
    }

    public void setId(String id) {
        this.put("id",id);
    }

    public String getType() {
        return this.getString("type");
    }

    public void setType(String type) {
        this.put("type",type);
    }

    public String getPartition() {
        return this.getString("partition");
    }

    public void setPartition(String partition) {
        this.put("partition",partition);
    }

    public String getSeat() {
        return this.getString("seat");
    }

    public void setSeat(String seat) {
        this.put("seat",seat);
    }

    public String getAddr() {
        return this.getString("addr");
    }

    public void setAddr(String addr) {
        this.put("addr",addr);
    }

    public String getBusinessId() {
        return this.getString("businessId");
    }

    public void setBusinessId(String businessId) {
        this.put("businessId",businessId);
    }

    public String getBusinessName() {
        return this.getString("businessName");
    }

    public void setBusinessName(String businessName) {
        this.put("businessName",businessName);
    }

    public Date getCreatetime() {
        return this.getDate("createtime");
    }

    public void setCreatetime(Date createtime) {
        this.put("createtime",createtime);
    }

    public String getRfid() {
        return this.getString("rfid");
    }

    public void setRfid(String rfid) {
        this.put("rfid",rfid);
    }
}
